/**
 * author      : dormi330
 * date        : 2018/6/24
 * project     : mybatis
 * description : TODO
 */

package com.deep.trade.infrastructure.mybatis.order;

import com.deep.trade.domain.order.TradeOrderSku;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface TradeOrderSkuMapper {

    void insert(@Param("eo") TradeOrderSku eo);

    List<TradeOrderSku> queryListByTradeOrder(
            @Param("tenantCode") String tenantCode,
            @Param("tradeOrderId") String tradeOrderId
    );

    List<TradeOrderSku> queryListByTradeOrderList(
            @Param("tenantCode") String tenantCode,
            @Param("tradeOrderIdList") List<String> tradeOrderIdList
    );
}
